<?php
// +----------------------------------------------------------------------
// | Author: July
// +----------------------------------------------------------------------
// | 创建时间: 2023-12-27 20:39:42
// +----------------------------------------------------------------------
// | 角色模型
// +----------------------------------------------------------------------

namespace july\julyadmin\common\model;

use think\Model;
use think\model\concern\SoftDelete;

class AdminRole extends Model
{
    use SoftDelete;
    //主键
    protected $pk = 'id';
    //设置自动时间写入类型
    protected $autoWriteTimestamp = 'datetime';
    //设置创建时间字段
    protected $createTime = 'create_time';
    //设置更新时间字段
    protected $updateTime = 'update_time';
    //设置删除时间字段
    protected $deleteTime = 'delete_time';
}
